import {  post } from '@/utils/fetch';

export const getMenuList = data => post('/usercenter-admin-app/admin/sysResource/menu/selectList',data); // 菜单列表
export const getResList = data => post('/usercenter-admin-app/admin/sysResource/selectPage',data); // 资源列表查询
export const addRoleRes = data => post('/usercenter-admin-app/admin/sysResource/insert',data);
export const getRoleList = data => post ('/usercenter-admin-app/admin/sysRole/selectRoleListByKey',data); //新增模糊列表
export const cancelAuth = data => post ('/usercenter-admin-app/admin/sysResource/delete',data); //取消授权